using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Shapes;

namespace MVExplorer.Shapes
{
	internal class ShapeRectangle : ShapeBase
	{
		public override DrawingMode ShapeMode
		{
			get
			{
				return DrawingMode.Rectangle;
			}
		}

		public override System.Windows.Shapes.Shape CreatePreElement()
		{
			Rectangle rect = new Rectangle();
			rect.Stroke = SystemColors.WindowTextBrush;
			rect.StrokeThickness = 1;
			rect.Width = 0;
			rect.Height = 0;

			return rect;
		}
	}
}
